package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/15
*/
@Data
@Table(name = "tbl_grouping")
@NoArgsConstructor
@AllArgsConstructor
public class TblGrouping extends BaseEntity {
    /**
     * 0 retail 1 AIA corporate 2 Direct corporate 3 AIA health shield  4 Subscription
     */
    @ApiModelProperty("0 retail 1 AIA corporate 2 Direct corporate 3 AIA health shield  4 Subscription")
    private Integer type;

    @Column(name = "country_id")
    private String countryId;

    private String name;

    private Integer status;

    @Column(name = "start_date")
    private Date startDate;

    @Column(name = "end_date")
    private Date endDate;

    @Column(name = "allowed_recurring_appointment")
    private Integer allowedRecurringAppointment;

    @Column(name = "allowed_medication_refill")
    private Integer allowedMedicationRefill;

    @Column(name = "allowed_service_reminder")
    private Integer allowedServiceReminder;

    @Column(name = "notification_appointment_no_of_days_before")
    private Integer notificationAppointmentNoOfDaysBefore;

    @Column(name = "notification_appointment_message")
    private String notificationAppointmentMessage;

    @Column(name = "notification_medication_no_of_days_before")
    private Integer notificationMedicationNoOfDaysBefore;

    @Column(name = "notification_medication_message")
    private String notificationMedicationMessage;

    @Column(name = "notification_service_no_of_days_before")
    private Integer notificationServiceNoOfDaysBefore;

    @Column(name = "notification_service_message")
    private String notificationServiceMessage;
}